#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>
#include<stdlib.h>
int
main(int argc, char *argv[]){
    

    int result =  faccessat(AT_FDCWD,"t_access.txt",F_OK,0);
    if(result != -1){
        
        printf("文件存在!\n");
    }else{
        
        printf("文件不存在\n");
    }

    exit(0);
}
